![]() |
![]() |
![]() |
|
|
|
This document introduces the DBO file format, which describes a typical 3D object for loading into Dark Basic Professional. As the file format is perfectly aligned to the engine, the files are loaded much quicker than any other 3D file format. Technical Brief The traditional way to load in a 3D model would be to be use the X file format published by Microsoft, and this continues to be fully supported in all versions. Each time an X file is loaded, it must be parsed from its raw binary or text format into a structure that the engine can use to render that model to the screen. The model is stored internally as a Dark Basic Object, DBO for short. Therefore, the DBO file format is an almost identical representation of that internal structure making it a perfect choice for final release media in terms of compatibility and performance. 1. The DBO File Format Document In the "Help\documents\Files" folder you will find the "DBO Loader" directory containing a C++ project and a DOC file which fully describes the format entitled "DBO Format.doc". 2. The DBO Loader Project A project has been provided complete with full C++ source code which shows how a DBO file is loaded into the internal data structure which holds the various components of the object. This article does not attempt to explain the code, and it is recommended for experienced coders only. 3. Authors Notes I am eager to help third party tool authors support the DBO file format and if you contact me with details of what your issues are I will be happy to assist you in this. Emails to lee@thegamecreators.com Lee Bamber The Game Creators www.thegamecreators.com |